<template>
  <div class="defaultView">
    <el-container>
      <el-aside>
        <MenuItemNav />
      </el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import MenuItemNav from "./menuLtem.vue";

export default defineComponent({
  components: { MenuItemNav },
  setup () {
    return {}
  }
})
</script>
<style lang="scss" scoped>
.defaultView{
  height: 100%;
  .el-container{
    height: 100%;
    .el-aside{
      width: 200px;
      border-right: 1px solid #cccccc;
    }
    .el-header{
      line-height: 60px;
      border-bottom: 1px solid #cccccc;
    }
  }
}
</style>
